//
//  CAIBehaviorWaitCommand.h
//  Monster_Martial_Arts_Version_0
//
//  Created by chiawei.tseng on 13/1/16.
//
//

#ifndef Monster_Martial_Arts_Version_0_CAIBehaviorWaitCommand_h
#define Monster_Martial_Arts_Version_0_CAIBehaviorWaitCommand_h

#include "CAIManager.h"
#include "CBaseAI.h"
#include "AIDef.h"
#include "CProcessFunctions.h"

using namespace MMA;

class CAIBehaviorWaitCommand : public CAIBehavior , public CProcessFunctions<CAIBehaviorWaitCommand>
{
public:
    
    enum
    {
        WaitCommand =0,
    };
    
    CAIBehaviorWaitCommand();
    
    virtual ~CAIBehaviorWaitCommand();
    
    virtual bool Init(CAIManager*);
    
    virtual void Entering(IStateInput*);
    
    virtual void Update(IStateInput*);
    
    virtual void Leaving(IStateInput*);
    
    virtual int ShouldChange(IStateInput*);
    
    //virtual void onHandleCommand(IStateInput*){}
    
    //virtual void onHandleEvent(IStateInput*){}

protected:
    
    //bool CheckMasterIsEnterLayer();
    
    void onProcessWaitCommand();
    
private:
    
    //AI_BEHAVIOR_ID  m_AiBrhaviorID;
};

#endif
